
module("NetWork.Action.LoadAllianceGroupSmAction ", package.seeall)

local NetCmdActionBase = require("NetWork.Action").NetCmdActionBase

LoadAllianceGroupSmAction = NetCmdActionBase:new()

function LoadAllianceGroupSmAction:Action(bytes)
    local LoadAllianceGroupSm = require("Protol.groupMessage_pb").LoadAllianceGroupSm()
    LoadAllianceGroupSm:ParseFromString(bytes)

    if LoadAllianceGroupSm.code ~= 0 then
        local UIWinMgr = require("UI.UIWinMgr").UIWinMgr
        UIWinMgr:OpenErrorNotice(LoadAllianceGroupSm.code)
        return
    end
    local ClubModule = require("Module.ClubModule").ClubModule
    ClubModule.LoadAllianceGroupSm(LoadAllianceGroupSm)
end

require("NetWork.NetCmdSet").CmdSet[2012] = LoadAllianceGroupSmAction --注册处理对象